home *** CD-ROM | disk | FTP | other *** search
/ InterCD 2001 January / january_2001.iso / intercd / root / ^4Developers / VB / visbasdb / VBDB / VBDB Code / VB5 Code / Class 6 / QuickExample1.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1999-08-24  |  1.3 KB  |  43 lines

  1. VERSION 5.00
  2. Object = "{C932BA88-4374-101B-A56C-00AA003668DC}#1.1#0"; "MSMASK32.OCX"
  3. Begin VB.Form Form1 
  4.    Caption         =   "Form1"
  5.    ClientHeight    =   1455
  6.    ClientLeft      =   60
  7.    ClientTop       =   345
  8.    ClientWidth     =   2595
  9.    LinkTopic       =   "Form1"
  10.    ScaleHeight     =   1455
  11.    ScaleWidth      =   2595
  12.    StartUpPosition =   3  'Windows Default
  13.    Begin VB.TextBox Text1 
  14.       Height          =   495
  15.       Left            =   120
  16.       TabIndex        =   1
  17.       Text            =   "Text1"
  18.       Top             =   720
  19.       Width           =   2295
  20.    End
  21.    Begin MSMask.MaskEdBox MaskEdBox1 
  22.       Height          =   495
  23.       Left            =   120
  24.       TabIndex        =   0
  25.       Top             =   120
  26.       Width           =   2295
  27.       _ExtentX        =   4048
  28.       _ExtentY        =   873
  29.       _Version        =   393216
  30.       MaxLength       =   14
  31.       Mask            =   "(###) ###-####"
  32.       PromptChar      =   "_"
  33.    End
  34. Attribute VB_Name = "Form1"
  35. Attribute VB_GlobalNameSpace = False
  36. Attribute VB_Creatable = False
  37. Attribute VB_PredeclaredId = True
  38. Attribute VB_Exposed = False
  39. Option Explicit
  40. Private Sub MaskEdBox1_Change()
  41. Text1.Text = MaskEdBox1.Text
  42. End Sub
  43.